(C) 1996 AROS - The Amiga Replacement OS
NAME
#include <proto/iffparse.h>
LONG EntryHandler()
SYNOPSIS
struct IFFHandle * iff
LONG type
LONG id
LONG position
struct Hook * handler
APTR object
LOCATION
In IFFParseBase at offset 17
FUNCTION
Installs an entry handler for a specific chunk type that wil be called whenever a chunk of that type is pushed on the contextstack via ParseIFF().
INPUTS
iff
pointer to an iffhandle struct.
type
type code for the chunk to handle. (ex: "ILBM").
id
ID code for the chunk to handle. (ex: "CMAP")
position
position of localcontextitem. See StoreLocalItem for more info.
handler
an initialised Hook structure for the handler function.
object
pointer to some kind of object that will be passed to your handler function.
RESULT
error - 0 If successfull, IFFERR_#? elsewise.
NOTES
EXAMPLE
BUGS
SEE ALSO
ExitHandler()
,
StoreLocalItem()
,
StoreItemInContext()
INTERNALS
HISTORY
13.02.1997 digulla
Bugfix. Loads IFF pictures now.
Added lots of debug output
03.02.1997 digulla
Iffparse.library as supplied by Nils H. Lorentzen